#include <iostream>
#include "1.h"

using std::cout;
using std::endl;

// 如果需要取
const int test1::NumTruns; // NumTruns的定义

int main() {
    test1 t1;
    // 如果需要取NumTruns的地址，则需要在实现文件中有一个NumTruns的定义
    const int *a = &t1.NumTruns;
    cout << *a << endl;

    const int b = t1.NumTruns;
    cout << b << endl;
    return 0;
}
